import type { UserInfoRegisterDTO } from '@/api/interface/system/admin/login'
import { ADMIN_MODULE } from '@/api/helper/prefix'
import { http } from '@/utils/http'

/**
 * 用户注册
 * @param params 注册参数
 * @returns 注册结果
 */
export function userRegisterApi(params: UserInfoRegisterDTO) {
  return http.post<void>(`${ADMIN_MODULE}/user-info/register`, params)
}
